<?php
/**
 * @subpackage        tpl_clonefactor
 * @copyright        Copyright (C) 2011 clonefactor.com. All rights reserved.
 * @license          GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
define( 'YOURBASEPATH', dirname(__FILE__) );
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/clonefactorflash/css/styles.css" type="text/css" />
<jdoc:include type="head" />
<script type="text/javascript">var BASEURL="<?php echo $this->baseurl ?>/templates/clonefactorflash/"; </script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/clonefactorflash/js/preload.js" type="text/javascript"></script>
<script src="<?php echo $this->baseurl ?>/templates/clonefactorflash/js/site.js" type="text/javascript"></script>
</head>
<body>
<div id="ff"></div>
<div class="debug">
	<div><jdoc:include type="message" /></div>
	<jdoc:include type="modules" name="navigation-0" style="none"/>
	<jdoc:include type="modules" name="navigation-1" style="none"/>
	<jdoc:include type="modules" name="navigation-2" style="none"/>
	<jdoc:include type="modules" name="panel" style="none"/>
	<?php if ($this->countModules('main-left')) : ?>
		<jdoc:include type="modules" name="main-left" />
	<?php endif; ?>

	<?php if ($this->countModules('main-right')) : ?>
		<jdoc:include type="modules" name="main-right" style="xhtml"/>
	<?php endif; ?>
	<jdoc:include type="component" />									
	<jdoc:include type="modules" name="rest-left" style="rest"/>
	<jdoc:include type="modules" name="rest-right" style="rest"/>
	<?php if ($this->countModules('user1 or user2 or user3')) : ?>
	<jdoc:include type="modules" name="user1" style="xhtml"/>
	<jdoc:include type="modules" name="user2" style="xhtml"/>
	<jdoc:include type="modules" name="user3" style="xhtml"/>
	<jdoc:include type="modules" name="debug" style="none" />
	<jdoc:include type="modules" name="footerload" style="none" />
	<?php endif; ?>
</div>
<xml class="data">
	<config>
		<sitetitle><?php echo $sitetitle ?>" /></sitetitle>
		<baseurl><?php echo $this->baseurl ?></baseurl>
		
	</config>
</xml>
</body>
</html>